@import '@style/var.scss';
.header-container{
  height: $height-120;
  line-height: $height-120;
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(8,5,20,0.6);
  .header-main{
    width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    .header-left{
      flex: 1;
      .logo{
        width: 36px;
        height: 36px;
        margin-right: 16px
      }
      font-size: $fontsize-32;
      color: #FFFFFF;
      letter-spacing: 0;
      font-weight: 700;
    }
    .header-center{
      display: flex;
      flex: 3.6;
      .ant-anchor{
        display: flex;
        height: $height-120;
        line-height: $height-120;
        overflow: hidden;
        .ant-anchor-ink{
          display: none;
        }
        .ant-anchor-link{
          padding: 0 30px;
          .ant-anchor-link-title{
            opacity: 0.6;
            font-size: $fontsize-25;
            color: #FFFFFF;
            letter-spacing: 0;
            text-align: center;
            font-weight: 700;
          }
          &.ant-anchor-link-active{
            .ant-anchor-link-title-active{
              opacity: 1;
              &::after{
                position: relative;
                top: -37px;
                display: block;
                width: 46px;
                height: 3px;
                margin: 0 auto;
                background: #7C5BFF;
                content: ' ';
              }
            }
          }
        }
      }
    }
    .header-right-area{
      flex: 1.2;
      .header-right{
        height: 64px;
        line-height: 64px;
        margin:  auto;
        background-image: linear-gradient(-50deg, #4E7CFF 0%, #6460FF 41%, #AA34FF 100%);
        border-radius: 32px;
        // 文字
        font-size: $fontsize-25;
        color: #FFFFFF;
        letter-spacing: 0;
        text-align: center;
        font-weight: 700;
        margin-left: 20px;
        padding: 0 30px;
        cursor: pointer;
        &.login{
          border: 1px solid rgba(255,255,255,0.3);
          border-radius: 32px;
          font-size: $fontsize-25;
          color: #FFFFFF;
          letter-spacing: 0;
          text-align: center;
          font-weight: 700;
          background: none;
          overflow: hidden;
          font-weight: normal;
        }
      }
    }
    
  }
}